<template>
	<view>
		<view class="status_bar"></view>
<!-- 		<view style="margin: 30rpx 30rpx 20rpx 30rpx;width: 90%;background-color: white;height: 70rpx;align-items: center;font-size: 35rpx;display: flex;justify-content: space-between;">
		<view style="padding-left: 30rpx;">账号与安全</view>
		<u-icon style="padding-right: 30rpx;" name="arrow-right" @click="personalaccount"></u-icon>
		</view> -->
		<u-button shape="circle" style="width: 90%;background-color: #ffdf80;margin-top:1000rpx" @click="loginout">退出登录</u-button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			loginout(){
				uni.clearStorageSync();
				uni.removeStorageSync('userInfo')
				uni.removeStorageSync('token')
				uni.navigateTo({
					url: '/pages/login/index'
				})
			},
		}
	}
</script>

<style lang="scss">
	.status_bar {
	        height: var(--status-bar-height);
	        width: 100%;
	    }

</style>
